package chixing.day06.homework;

public class OnlineOrderTest {
    public static void main(String[] args) {
        OnlineOrder onlineOrder1 = new OnlineOrder(1,678,"11111111qq.com");
        OnlineOrder onlineOrder2 = new OnlineOrder(2,456,"22222222qq.com");
        OnlineOrder onlineOrder3 = new OnlineOrder(3,321,"33333333qq.com");

        OnlineOrder[] onlineOrder = {onlineOrder1,onlineOrder2,onlineOrder3};

        for (OnlineOrder o:onlineOrder) {
            o.printOlineOrder();
        }
    }
}
